/**
 * 
 */
package com.app.service.impl;

import java.io.InputStream;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

import com.app.service.BaseService;
import com.app.service.BaseVo;
import com.app.service.IGetBasePointVo;
import com.app.service.IResultDnaPoint;

/**
 * @author yuxk
 *
 */
public class ResultDnaPointImpl extends BaseService implements IResultDnaPoint {

	/**
	 * 
	 */
	public ResultDnaPointImpl() {
		logger.info(this.getClass().getName()+" loader");
	}
	
	static public Logger logger = Logger.getLogger(ResultDnaPointImpl.class);

	private Map<String,IGetBasePointVo> getVoMap = new HashMap<String,IGetBasePointVo>();
	
	/* (non-Javadoc)
	 * @see com.app.service.ResultDnaPoint#getDNAVo(java.io.InputStream)
	 */
	@Override
	public BaseVo getDNAVo(InputStream input,String key) {
		return this.getVoMap.get(key).getBaseVo(input);
	}

	/* (non-Javadoc)
	 * @see com.app.service.ResultDnaPoint#selectDNA(java.io.InputStream, int)
	 */
	@Override
	public List<BaseVo> selectDNA(InputStream input, int point,String key) {
		return null;
	}

	public Map<String, IGetBasePointVo> getGetVoMap() {
		return getVoMap;
	}

	public void setGetVoMap(Map<String, IGetBasePointVo> getVoMap) {
		this.getVoMap = getVoMap;
	}

	
	
	
}
